const router = require("koa-router")();
const db = require("../database/db-mysql");
const roleController = require("../controller/roles");

router.prefix('/roles')

const selectAll = ""
// crud
router.get("/getrolelist", roleController.findAll)

router.post("/add", roleController.create)

router.put("/edit", roleController.update)

router.delete("/delete", roleController.del)

module.exports = router;
